<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>系统登录</title>

<link rel="stylesheet" type="text/css" href="js/easyui/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="js/easyui/themes/icon.css" />
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<style type="text/css">
.labelForForm {
	/* background-color: #e0eeee; */
	width: 50px;
	height: 25px;
	text-align: right;
	padding-right: 7px;
	line-height: 25px;
	margin-top: 5px;
	margin-bottom: 5px;
}
</style>
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/easyui/easyui_validate.js"></script>
<script type="text/javascript" src="js/easyui/locale/easyui-lang-zh_CN.js"></script>

</head>

<body>
	<div id="loginWin" class="easyui-window" title="系统登录" data-options="minimizable:false,maximizable:false,resizable:false,closable:false,collapsible:false"
		style="width:300px;height:188px;padding:5px;">
		<div class="easyui-layout" fit="true">
			<div data-options="region:'center',border:false" style="padding:5px;background:#fff;border:1px solid #ccc;">
				<form id="loginForm" method="post">
					<table>
						<tr>
							<td><div class="labelForForm">账号:</div></td>
							<td><input class="easyui-validatebox textbox" value="youbox"
									name="username" maxlength="20" style="width:175px;height:20px;" data-options="required:true,validType:'isEmptyStr'"/>
							</td>
						</tr>
						<tr>
							<td><div class="labelForForm">密码:</div></td>
							<td><input class="easyui-validatebox textbox password" value="123456"
									name="password" maxlength="20" style="width:175px;height:20px;" data-options="required:true,validType:'isEmptyStr'"/>
							</td>
						</tr>
					</table>
				</form>
			</div>
			<div data-options="region:'south',border:false" style="text-align:right;padding:5px 0 0;">
				<a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0)" onclick="login()">登录</a>
				<a class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="cleardata()">重置</a>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src='js/system/login/login.js'></script>
</html>